﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Diagnostic.aspx.cs" Inherits="WebRole1.Diagnostic" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
  </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

 <br />

 <strong>
  Deployment ID:&nbsp; <asp:TextBox ID="txtDeploymentID" runat="server" 
        Text="n/a" Width="232px"></asp:TextBox>
 &nbsp;
 </strong>
 <asp:Button ID="btnApplyDeploymentID" runat="server" Text="Apply"  Width="100px" 
        onclick="btnApplyDeploymentID_Click"/>


 <br />
 <br />
 <asp:Panel ID="panelMainArea" runat="server">
 
    <asp:Button ID="btnActivateTrace" runat="server" Text="Activate Traces for All Roles" 
    Width="200px" onclick="btnActivateTrace_Click" />

    <asp:Button ID="btnTrace" runat="server" style="margin-left:20px; margin-right:200px" onclick="btnTrace_Click" 
    Text="Do Test Trace" Width="150px" />

    <br />
    <br />
    <br />
    <asp:Button ID="btnCollectCPU" runat="server" Text="Activate CPU% Trace" 
    Width="200px" onclick="btnCollectCPU_Click" />
  

    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label1" runat="server" Text="New Perf Counter"></asp:Label>
    <asp:TextBox ID="txtPerfCounter" runat="server" Width="400px" Height="21px"></asp:TextBox>
    <asp:Button ID="btnAddPerfCounter" runat="server" 
    onclick="btnAddPerfCounter_Click" Text="Add " />
  

    <br />
    <br />
    <br />

    <asp:Button ID="btnActivateCustomLogs" runat="server" Text="Activate Custom Logs" 
    Width="200px" onclick="btnActivateCustomLogs_Click" />

    <asp:Button ID="btnCustomLog" runat="server" style="margin-left:20px"  
    Text="Do Custom Log" onclick="btnCustomLog_Click" Width="150px" />

    <br />

    <br />
    <br />
    <br />

    <asp:Button ID="btnrestoreConfig" runat="server" 
    Text="Restore Default Configuration"  Width="200px" 
    onclick="btnrestoreConfig_Click" />
  

    <br />
    <br />
  

    <asp:Button ID="btnEnter" runat="server" Text="Show Diagnostic Configuration" 
    onclick="btnEnter_Click" Width="200px" />

</asp:Panel>

  <br />

  <%=myInfo %>

</asp:Content>
